#ifndef _mbx_
#include <stdint.h>
#include <rtai_mbx.h>
#include "myStuff.h"

/* structures */

/* function prototypes */
int openNewMbx (MBX **mbx, const char *name, int buffSize);
int openNewMbxBuf(MBX **mbx, const char *name, int buffSize, int sizeBuf);
int openExistingMbx(MBX **mbx, const char *name);
int sendViaMbx(MBX *mbx, void *data, uint32_t sizeIn);
int receiveViaMbx(MBX *mbx, void *data, uint32_t size);
int closeMbx(MBX *mbx);

/* variables */


#define _mbx_
#endif
